This resource address returns data about a specific App Server. The server can
be identified either by id or name. The data returned depends on the value of the
view
request parameter. The default view is a summary with links to additional
data.
Request Headers | |
---|---|
Accept | The expected MIME type of the response. If the
format parameter is present, it takes precedence over the Accept header. |
For all views except edit
, upon success, MarkLogic Server returns
status code 200 (OK), and the response body contains the requested data. If
view=edit
, MarkLogic Server responds with status code 302 (Found) and the
Location header contains a redirect to the appropriate configuration page in the Admin
Interface.
manage-user
role, or the following
privilege: http://marklogic.com/xdmp/privileges/manage
The structure of the returned data for each type of server is shown below.
The structure of the data in the response for an HTTP server is as follows:
id
name
server-kind
meta
This is a complex structure with the following children:
uri
current-time
elapsed-time
start-min
view-error
This is a complex structure with the following children:
error-type
error-name
error-code
error-message
relations
This is a complex structure with the following children:
relation-group
This is a complex structure with the following children:
uriref
typeref
roleref
relation-count
relation
This is a complex structure with the following children:
qualifiers
This is a complex structure with the following children:
qualifier
This is a complex structure with the following children:
uriref
typeref
idref
nameref
uriref
typeref
roleref
idref
nameref
http-config-properties
This is a complex structure with the following children:
enabled
root
port
public-port
webDAV
execute
display-last-login
address
backlog
threads
request-timeout
keep-alive-timeout
session-timeout
max-time-limit
default-time-limit
max-inference-size
default-inference-size
static-expires
pre-commit-trigger-depth
pre-commit-trigger-limit
collation
coordinate-system
authentication
internal-security
external-security
external-securities
This is a complex structure with the following children:
external-security
default-user
privilege
concurrent-request-limit
compute-content-length
file-log-level
opsdirector-applog-level
log-errors
debug-allow
profile-allow
default-xquery-version
multi-version-concurrency-control
distribute-timestamps
output-sgml-character-entities
output-encoding
output-method
output-byte-order-mark
output-cdata-section-namespace-uri
output-cdata-section-localname
output-doctype-public
output-doctype-system
output-escape-uri-attributes
output-include-content-type
output-indent
output-indent-untyped
output-indent-tabs
output-media-type
output-normalization-form
output-omit-xml-declaration
output-standalone
output-undeclare-prefixes
output-version
output-include-default-attributes
default-error-format
error-handler
schemas
This is a complex structure with the following children:
schema
This is a complex structure with the following children:
namespace-uri
schema-location
namespaces
This is a complex structure with the following children:
namespace
This is a complex structure with the following children:
prefix
namespace-uri
using-namespace
This is a complex structure with the following children:
namespace-uri
module-locations
This is a complex structure with the following children:
module-location
This is a complex structure with the following children:
namespace-uri
location
request-blackouts
This is a complex structure with the following children:
request-blackout
This is a complex structure with the following children:
users
roles
blackout-type
days
This is a complex structure with the following children:
day
period
This is a complex structure with the following children:
start-date
start-time
end-date
end-time
duration
url-rewriter
rewrite-resolves-globally
ssl-certificate-template
You can add a new
certificate template by navigating to
Security > Certificate Templates > Create
ssl-allow-sslv3
ssl-allow-tls
ssl-disable-sslv3
ssl-disable-tlsv1
ssl-disable-tlsv1-1
ssl-disable-tlsv1-2
ssl-hostname
ssl-ciphers
ssl-require-client-certificate
ssl-client-issuer-authority-verification
ssl-client-certificate-authorities
This is a complex structure with the following children:
ssl-client-certificate-authority
enable-hsts-header
hsts-header-max-age
related-views
This is a complex structure with the following children:
related-view
This is a complex structure with the following children:
view-type
view-name
view-uri
The structure of the data in the response for an ODBC server is as follows:
id
name
server-kind
meta
This is a complex structure with the following children:
uri
current-time
elapsed-time
start-min
view-error
This is a complex structure with the following children:
error-type
error-name
error-code
error-message
relations
This is a complex structure with the following children:
relation-group
This is a complex structure with the following children:
uriref
typeref
roleref
relation-count
relation
This is a complex structure with the following children:
qualifiers
This is a complex structure with the following children:
qualifier
This is a complex structure with the following children:
uriref
typeref
idref
nameref
uriref
typeref
roleref
idref
nameref
odbc-config-properties
This is a complex structure with the following children:
enabled
root
port
public-port
display-last-login
address
backlog
threads
connection-timeout
max-query-time-limit
default-query-time-limit
pre-commit-trigger-depth
pre-commit-trigger-limit
collation
coordinate-system
authentication
internal-security
external-security
external-securities
This is a complex structure with the following children:
external-security
privilege
concurrent-request-limit
file-log-level
opsdirector-applog-level
log-errors
debug-allow
profile-allow
default-xquery-version
multi-version-concurrency-control
distribute-timestamps
output-sgml-character-entities
output-encoding
output-method
output-byte-order-mark
output-cdata-section-namespace-uri
output-cdata-section-localname
output-doctype-public
output-doctype-system
output-escape-uri-attributes
output-include-content-type
output-indent
output-indent-untyped
output-indent-tabs
output-media-type
output-normalization-form
output-omit-xml-declaration
output-standalone
output-undeclare-prefixes
output-version
output-include-default-attributes
schemas
This is a complex structure with the following children:
schema
This is a complex structure with the following children:
namespace-uri
schema-location
namespaces
This is a complex structure with the following children:
namespace
This is a complex structure with the following children:
prefix
namespace-uri
using-namespace
This is a complex structure with the following children:
namespace-uri
module-locations
This is a complex structure with the following children:
module-location
This is a complex structure with the following children:
namespace-uri
location
request-blackouts
This is a complex structure with the following children:
request-blackout
This is a complex structure with the following children:
users
roles
blackout-type
days
This is a complex structure with the following children:
day
period
This is a complex structure with the following children:
start-date
start-time
end-date
end-time
duration
ssl-certificate-template
You can add a new
certificate template by navigating to
Security > Certificate Templates > Create
ssl-allow-sslv3
ssl-allow-tls
ssl-disable-sslv3
ssl-disable-tlsv1
ssl-disable-tlsv1-1
ssl-disable-tlsv1-2
ssl-hostname
ssl-ciphers
ssl-require-client-certificate
ssl-client-issuer-authority-verification
ssl-client-certificate-authorities
This is a complex structure with the following children:
ssl-client-certificate-authority
related-views
This is a complex structure with the following children:
related-view
This is a complex structure with the following children:
view-type
view-name
view-uri
The structure of the data in the response for an XDBC server is as follows:
id
name
server-kind
meta
This is a complex structure with the following children:
uri
current-time
elapsed-time
start-min
view-error
This is a complex structure with the following children:
error-type
error-name
error-code
error-message
relations
This is a complex structure with the following children:
relation-group
This is a complex structure with the following children:
uriref
typeref
roleref
relation-count
relation
This is a complex structure with the following children:
qualifiers
This is a complex structure with the following children:
qualifier
This is a complex structure with the following children:
uriref
typeref
idref
nameref
uriref
typeref
roleref
idref
nameref
xdbc-config-properties
This is a complex structure with the following children:
enabled
root
port
public-port
display-last-login
address
backlog
threads
request-timeout
keep-alive-timeout
session-timeout
max-time-limit
default-time-limit
max-inference-size
default-inference-size
pre-commit-trigger-depth
pre-commit-trigger-limit
collation
coordinate-system
authentication
internal-security
external-security
external-securities
This is a complex structure with the following children:
external-security
privilege
concurrent-request-limit
file-log-level
opsdirector-applog-level
log-errors
debug-allow
profile-allow
default-xquery-version
multi-version-concurrency-control
distribute-timestamps
output-sgml-character-entities
output-encoding
output-method
output-byte-order-mark
output-cdata-section-namespace-uri
output-cdata-section-localname
output-doctype-public
output-doctype-system
output-escape-uri-attributes
output-include-content-type
output-indent
output-indent-untyped
output-indent-tabs
output-media-type
output-normalization-form
output-omit-xml-declaration
output-standalone
output-undeclare-prefixes
output-version
output-include-default-attributes
schemas
This is a complex structure with the following children:
schema
This is a complex structure with the following children:
namespace-uri
schema-location
namespaces
This is a complex structure with the following children:
namespace
This is a complex structure with the following children:
prefix
namespace-uri
using-namespace
This is a complex structure with the following children:
namespace-uri
module-locations
This is a complex structure with the following children:
module-location
This is a complex structure with the following children:
namespace-uri
location
request-blackouts
This is a complex structure with the following children:
request-blackout
This is a complex structure with the following children:
users
roles
blackout-type
days
This is a complex structure with the following children:
day
period
This is a complex structure with the following children:
start-date
start-time
end-date
end-time
duration
ssl-certificate-template
You can add a new
certificate template by navigating to
Security > Certificate Templates > Create
ssl-allow-sslv3
ssl-allow-tls
ssl-disable-sslv3
ssl-disable-tlsv1
ssl-disable-tlsv1-1
ssl-disable-tlsv1-2
ssl-hostname
ssl-ciphers
ssl-require-client-certificate
ssl-client-issuer-authority-verification
ssl-client-certificate-authorities
This is a complex structure with the following children:
ssl-client-certificate-authority
enable-hsts-header
hsts-header-max-age
related-views
This is a complex structure with the following children:
related-view
This is a complex structure with the following children:
view-type
view-name
view-uri
The structure of the data in the response for a Task server is as follows:
id
name
server-kind
meta
This is a complex structure with the following children:
uri
current-time
elapsed-time
start-min
view-error
This is a complex structure with the following children:
error-type
error-name
error-code
error-message
relations
This is a complex structure with the following children:
relation-group
This is a complex structure with the following children:
uriref
typeref
roleref
relation-count
relation
This is a complex structure with the following children:
qualifiers
This is a complex structure with the following children:
qualifier
This is a complex structure with the following children:
uriref
typeref
idref
nameref
uriref
typeref
roleref
idref
nameref
task-config-properties
This is a complex structure with the following children:
threads
debug-threads
max-time-limit
default-time-limit
max-inference-size
default-inference-size
queue-size
pre-commit-trigger-depth
post-commit-trigger-depth
pre-commit-trigger-limit
file-log-level
opsdirector-applog-level
log-errors
debug-allow
profile-allow
scheduled-tasks
This is a complex structure with the following children:
scheduled-task
This is a complex structure with the following children:
scheduled-task-relations
This is a complex structure with the following children:
relation
This is a complex structure with the following children:
qualifiers
This is a complex structure with the following children:
qualifier
This is a complex structure with the following children:
uriref
typeref
idref
nameref
uriref
typeref
roleref
idref
nameref
relation-id
task-id
task-enabled
task-path
task-root
task-type
task-period
task-month-day
task-days
This is a complex structure with the following children:
task-day
task-start-date
task-start-time
task-timestamp
task-user
task-priority
related-views
This is a complex structure with the following children:
related-view
This is a complex structure with the following children:
view-type
view-name
view-uri
http://localhost:8002/manage/v2/servers/Admin?group-id=Default ==> Returns information on the Admin server in the Default group.
http://localhost:8002/manage/v2/servers/Admin?group-id=Default&view=status ==> Returns the status of the Admin server in the Default group.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.